Skip to content

Add sandbox storage_mb support#178

Open
mstolarzblaxelai wants to merge 1 commit into
mainfrom
mstolarz/eng-3024-sandbox-storage-mb
Open

Add sandbox storage_mb support#178
mstolarzblaxelai wants to merge 1 commit into
mainfrom
mstolarz/eng-3024-sandbox-storage-mb

Conversation

@mstolarzblaxelai

@mstolarzblaxelai mstolarzblaxelai commented Jun 25, 2026

Copy link
Copy Markdown
Contributor
  • Adds storage_mb to sandbox create config and serialized runtime models.
  • Forwards root storage through async and sync sandbox creation plus image builds.
  • Covers SDK serialization and build payload behavior.

Note

Adds storage_mb as an optional parameter to sandbox creation (async, sync, and image builds). The field flows from SandboxCreateConfiguration through to the SandboxRuntime model, serialized as storageMb in the API payload. Tests cover serialization and forwarding in both async and sync paths.

Written by Mendral for commit 0fb52ac.

@mendral-app mendral-app Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Clean, minimal addition that follows the existing patterns for optional runtime fields. The None vs UNSET handling is correct, serialization round-trips through both snake_case and camelCase keys, and tests cover the key paths. No correctness, security, or data issues found.

Tag @mendral-app with feedback or questions. View session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant